home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20041116-20060924
/
000405_slash_dev_slas…_2000@yahoo.com_Mon Aug 21 12:25:12 2006.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: reader2.panix.com!reader1.panix.com!panix!newsfeed.media.kyoto-u.ac.jp!postnews.google.com!i3g2000cwc.googlegroups.com!not-for-mail
From: "Mark Sapiro" <slash_dev_slash_null_2000@yahoo.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: logging / flushing output
Date: 20 Aug 2006 19:15:39 -0700
Organization: http://groups.google.com
Lines: 25
Message-ID: <1156126539.183663.57420@i3g2000cwc.googlegroups.com>
References: <1155487576.755318.253070@b28g2000cwb.googlegroups.com>
NNTP-Posting-Host: 68.183.193.239
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1156126542 27117 127.0.0.1 (21 Aug 2006 02:15:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 21 Aug 2006 02:15:42 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20060111 Netscape/8.1,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i3g2000cwc.googlegroups.com; posting-host=68.183.193.239;
posting-account=iQNWIg0AAAAD2fStXNC9nwGlPdSqjWrI
Xref: panix comp.protocols.kermit.misc:15537
tomviolin wrote:
> System: C-Kermit 8.0.211 on Linux 2.6 (Ubuntu).
>
> I use the script as a "kerbang" script (starting with
> #!/usr/local/bin/kermit +), have "set input echo on" and when I run the
> script at the terminal it works as expected, with the output from the
> remote system interspersed with the text from the ECHO statements.
>
> However, when I redirect the output to a file thusly:
>
> $ ./script.ksc > script.log 2>&1
>
> strange things happen. Doing a "tail -f script.log" from another
> window (or backgrounding the script and doing the "tail" from the same
> window) reveals that the output from the remote system is showing up in
> real time, but the output from the ECHO statements is not showing up
> until the script terminates.
Recent daily builds <http://www.columbia.edu/kermit/ckdaily.html> have
a --unbuffered command line option. This may help.
--
Mark Sapiro msapiro at value net The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan